import { create } from "domain";
import React from "react";
import { TagsItemType } from "../../views/tags";
import { Typography } from "antd";
interface PropsType extends TagsItemType {}

export const Tags: React.FC<PropsType> = ({
  id,
  title,
  desc,
  createTime,
  count,
}) => {
  return (
    <div>
      <h3>{title}</h3>
      <Typography.Paragraph
        ellipsis={{ rows: 4, expandable: true, symbol: "more" }}
      >
        {desc}
      </Typography.Paragraph>
      <p>{count}篇内容-- 关注标签</p>
      <p>{createTime}</p>
    </div>
  );
};
